<?php

use common\models\member\Member;
use yii\db\Migration;

/**
 * Class m220116_105350_add_col_member
 */
class m220116_105350_add_col_member extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->addColumn(Member::tableName(), 'password_security_hash',$this->string(255));
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropColumn(Member::tableName(), 'password_security_hash');
    }
}
